package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author YiJian
 * @date 2021/8/6 12:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "soul_questionnaire")
public class LHQuestionnaire implements Serializable {
	private static final long serialVersionUID = -3292494334463843035L;
	@Id
	private ObjectId id;//问卷编号
	private String name;//问卷名称
	private String cover;//封面
	private Integer level;//级别
	private Integer star;//星别，如2星3星
}
